#include "mode_button.h"
#include "hal_gpio.h"
#include "gpio.h"

bool turn_on_mode_button_led(void)
{
    en_result_t tmp = Gpio_SetIO(BUTTON_LED_CTRL_PORT, BUTTON_LED_CTRL_PIN);
    if (tmp == Ok) 
    {
        return true;
    }
    else 
    {
        return false;
    }
}

bool turn_off_mode_button_led(void)
{
    en_result_t tmp = Gpio_ClrIO(BUTTON_LED_CTRL_PORT, BUTTON_LED_CTRL_PIN);
    if (tmp == Ok)
    {
        return true;
    }
    else
    {
        return false;
    }
}
